def month_count(y,m):
    # big = [1,3,5,7,8,10,12]    # 大月
    small = [4,6,9,11]    # 小月
    is_small = False
    if m == 2:       # 2月
        if y % 400 == 0:      # 能被400整除的是闰年 闰年2月29
            return 29
        else:
            return 28
    else:
        for i in small:      # 判断m是否在小月里面
            if m == i:
                is_small = True
                return 30
                break
        if not is_small:      # 如果m不是小月
            return 31


def data_count(y):
    l = list()
    m = 1
    while m < 2:
        day = month_count(y,m)
        for d in day:
            l.append(f"{m}.{d}")
            print(l)
        m += 1
#     return l
# l = data_count(2023)
# print(l)

# day = month_count(2023,2)
# print(day)